home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / gengetopt-2.6.lha / gengetopt-2.6 / doc / cmdline2.h < prev    next >
C/C++ Source or Header  |  2002-06-24  |  2KB  |  59 lines

  1. /* cmdline2.h */
  2.  
  3. /* File autogenerated by gengetopt version 2.6  */
  4.  
  5. #ifndef _cmdline2_h
  6. #define _cmdline2_h
  7.  
  8. #ifdef __cplusplus
  9. extern "C" {
  10. #endif /* __cplusplus */
  11.  
  12. /* Don't define PACKAGE and VERSION if we use automake.  */
  13. #ifndef PACKAGE
  14. /* ******* WRITE THE NAME OF YOUR PROGRAM HERE ******* */
  15. #define PACKAGE ""
  16. #endif
  17. #ifndef VERSION
  18. /* ******* WRITE THE VERSION OF YOUR PROGRAM HERE ******* */
  19. #define VERSION ""
  20. #endif
  21.  
  22. struct gengetopt_args_info {
  23.   char * str_opt_arg;    /* A string option.  */
  24.   int int_opt_arg;    /* A int option.  */
  25.   short short_opt_arg;    /* A short option.  */
  26.   long long_opt_arg;    /* A long option.  */
  27.   float float_opt_arg;    /* A float option.  */
  28.   double double_opt_arg;    /* A double option.  */
  29.   long double long_double_opt_arg;    /* A long double option.  */
  30.   long long long_long_opt_arg;    /* A long long option.  */
  31.   int flag_opt_flag;    /* A flag option (default=off).  */
  32.  
  33.   int help_given ;    /* Whether help was given.  */
  34.   int version_given ;    /* Whether version was given.  */
  35.   int str_opt_given ;    /* Whether str-opt was given.  */
  36.   int int_opt_given ;    /* Whether int-opt was given.  */
  37.   int short_opt_given ;    /* Whether short-opt was given.  */
  38.   int long_opt_given ;    /* Whether long-opt was given.  */
  39.   int float_opt_given ;    /* Whether float-opt was given.  */
  40.   int double_opt_given ;    /* Whether double-opt was given.  */
  41.   int long_double_opt_given ;    /* Whether long-double-opt was given.  */
  42.   int long_long_opt_given ;    /* Whether long-long-opt was given.  */
  43.   int func_opt_given ;    /* Whether func-opt was given.  */
  44.   int flag_opt_given ;    /* Whether flag-opt was given.  */
  45.  
  46.   char **inputs ; /* unamed options */
  47.   unsigned inputs_num ; /* unamed options number */
  48. } ;
  49.  
  50. int my_cmdline_parser (int argc, char * const *argv, struct gengetopt_args_info *args_info);
  51.  
  52. void my_cmdline_parser_print_help(void);
  53. void my_cmdline_parser_print_version(void);
  54.  
  55. #ifdef __cplusplus
  56. }
  57. #endif /* __cplusplus */
  58. #endif /* _cmdline2_h */
  59.